<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${initParam.title}</title>
<%@include file="commons/taglibs.jsp"%>
<%@include file="commons/jquery.jsp"%>
<%@include file="commons/jquery-validation.jsp"%>
<%@include file="commons/bootstrap.jsp"%>
<link href="${base_file}/css/login.css" rel="stylesheet" />
<script type="text/javascript" src="${base_file}/js/login.js"></script>
<script>
	var msg="${msg}";
</script>
</head>
<body>
  <div class="log_body">
  	<div class="log_bg"></div>
	<form id="formLogin" action="${base}/login" method="post">
		<div class="form-group">
			<div class="title">智能办公</div>
			<div id="message"><label class="error"></label></div>
		</div>
		<div class="form-group">
			<input id="userName" placeholder="UserName" class="form-control" name="user.userName" type="text"/>
			<span class="fa fa-user input-icon"></span>
		</div>
		<div class="form-group">
			<input id="password" placeholder="Password" class="form-control" name="user.password" type="password">
			<span class="fa fa-lock input-icon"></span>
		</div>
		<div class="but">
			<input type="text" name="captcha" id="captcha">
			<img src="${base}/captcha" onclick="this.src='${base}/captcha?'+Math.random();" style="cursor:pointer;">
			<button type="submit" id="login" data-loading-text="登陆中..." class="btn btn-primary">登陆</button>
		</div>
		
	</form>
  </div>
</body>
</html>